
<form name="form" method="post" action="{[$root]}{[$deleteLink]}{[$p1]}{[$p3]}">
<table>
	<tr align="center">
		<th width="40"><input type="checkbox" class="check" name="chkall" value="on" onclick="chkbox(this.form)"></th>
		<th width="40">序号</th>
		<th>流水号</th>
		<th>员工</th>
		<th>编号</th>
		<th width="40"></th>
		<th>名称</th>
		<th>VPN</th>
		<th>用户</th>
		
		<th>最高在线</th>
		<th>在线</th>
		<th>比例</th>
		
		<th>运行时长</th>
		<th>状态</th>
		<th>{[$orderby]}</th>
	</tr>
	{[foreach name=outer key=key item=item from=$result]} 
	{[assign var="no" value="`$key+$pager->from+1`"]}
	{[assign var="t1" value="`$t1+$item.online`"]}
	{[assign var="t2" value="`$t2+$item.online_max`"]}
	{[assign var="p1" value="`$item.online/$item.online_max`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td><input type="checkbox" class="check" name="c_{[$item.id]}" value="{[$item.id]}"></td>
		<td>{[$no]}</td>
		<td><a href="javascript:void(0)" onclick="Common.dialog_view_('{[$root]}{[$viewLink]}&id={[$item.id]}', '查看信息', '650x420')">{[$item.id]}</a></td>
		<td><a href="javascript:void(0)" onclick="emp({[$item.emp]})">{[$item.emp_t]}</a></td>
		<td>{[$item.code]}</td>
		<td><a href="javascript:void(0)" onclick="Node.popup(event, '{[$p2]}&p={[$p]}', {[$item.id]})">[管理]</a></td>
				
		<td>{[$item.name]}</td>
		<td>{[$item.ip_vpn]}</td>
		<td>[{[$item.num_]}]</td>
		
		<td>{[$item.online_max]}</td>
		<td>{[$item.online]}</td>
		<td>{[$p1*100|string_format:"%.2f"]}%</td>
		
		<td>{[$item.content_x->wifidog_uptime|time]}</td>
		<td>{[$item.status_t]}</td>

		<td>{[$item.orderby_x]}</td>
	</tr>
	{[/foreach]}
	{[assign var="p2" value="`$t1/$t2`"]}
	<tr align="center">
		<td><a href="javascript:void(0)" onclick="Node.popup_all(event, '{[$p2]}&p={[$p]}')">[管理]</a></td>
		<td colspan="8"></td>
		<td>{[$t2]}</td>
		<td>{[$t1]}</td>
		<td>{[$p2*100|string_format:"%.2f"]}%</td>
		
		<td colspan="3"></td>	
	</tr>
</table>
</form>

{[include file="footer.tpl"]}
